
<div class="col-sm-12">
  <div class="box">
  	<!-- BOX-BODY -->
  	<div class="box-body">
    <div id="datatable1_wrapper" class="dataTables_wrapper form-inline" role="grid">
      <div class="row ">
        <div class="col-sm-9 ">
          <div class="col-sm-5 nopadding-left">
            <div class="pull-left">
              <div class="input-group bottom8">
                {{input class="form-control" type="text" placeholder="搜索充值账户" value=queryCondition enter="search"}}
                <span class="input-group-btn">
                  <button class="btn btn-primary btn-reduce" type="button" style="touch-action: manipulation; -ms-touch-action: manipulation;" {{action "search" on="click"}}>
                    <i class="fa fa-search"></i>
                  </button>
                </span>
              </div>
            </div>
            <!--搜索-->
          </div>
          <div class="col-sm-7 nopadding-right nopadding-left">
            {{callbusi/time-search class="inline-block" text='按充值日期搜索' dateShow=dateShow chooseDate=chooseDate search="search"
            submmit="submmit" emptied='emptied' changeBeginDateAction='changeBeginDateAction' changeEndDateAction='changeEndDateAction'}}
          </div>
        </div>
        <div class="user-add-btn col-sm-3 pull-right nopadding-right" >
          {{#ui/mix-button class=" user-btn pull-right" iconClass="fa-plus"  text='新增充值信息'  clickAction="toDetailPage" toDetailPage="toDetailPage"}}
          {{/ui/mix-button}}
        </div>
      </div>
          <table id="datatable1" cellpadding="0" cellspacing="0" border="0"  class="datatable table table-bordered table-hover dataTable mt15" aria-describedby="datatable1_info">
            <thead>
              <tr role="row">
                <th rowspan="1" colspan="1" width="">充值账户</th>
                <th rowspan="1" colspan="1" width="">账户类型</th>
                <th rowspan="1" colspan="1" width="">充值金额(元)</th>
                <th rowspan="1" colspan="1" width="">充值日期</th>
                <th rowspan="1" colspan="1" width="">充值方式</th>
                <th rowspan="1" colspan="1" width="">状态</th>
                <th rowspan="1" colspan="1" width="">操作人</th>
                <th rowspan="1" colspan="1" width="">审核人</th>
                <th rowspan="1" colspan="1" width="" class="width300">备注</th>
              </tr>
            </thead>
            {{#if rechargeList}}
          <tbody role="alert" aria-live="polite" aria-relevant="all" class="">
              {{#each rechargeList as |recharge|}}
              {{log "recharge item" recharge}}
              <tr class="gradeA odd"  {{action 'toDetailPage' recharge on="click"}}>
                <td class=" ellipsis sorting_1 ">{{recharge.rechargeAccount.customer.name}}</td>
                <td class=" ellipsis ">{{recharge.rechargeAccount.type.typename}}</td>
                <td class=" ellipsis ">{{recharge.money}}</td>
                <td class=" ellipsis ">{{recharge.createDateString}}</td>
                <td class=" ellipsis ">{{{recharge.channel.typename}}}</td>
                <td class=" ellipsis ">{{{recharge.rechargeStatus.typename}}}</td>
                <td class=" ellipsis ">{{{recharge.createUser.name}}}</td>
                <td class=" ellipsis ">{{{recharge.operateUser.name}}}</td>
                <td class=" ellipsis " class="width300"><div class="width300 extend">{{{recharge.remark}}}</div></td>
          	  </tr>
              {{/each}}
           </tbody>
           {{else}}
           {{/if}}
            </table>
      {{#if rechargeList }}
          {{page-numbers content=rechargeList showFL=true numPagesToShow=3}}
      {{else}}
          <h1 class="col-sm-12 center unTask"></h1>
      {{/if}}
    </div>
    </div>
  </div>
</div>
